package cn.hzc.fortess.system.common;

public enum MenuType implements Type {

    MENU(1, "菜单"),
    BUTTON(2, "按钮"),
    LINK(3, "API接口")
    ;



    private final Integer key;
    private final String desc;

    MenuType(Integer key, String desc) {
        this.key = key;
        this.desc = desc;
    }


    @Override
    public Integer getType() {
        return key;
    }

    @Override
    public String getTypeName() {
        return desc;
    }
}
